﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="login.aspx.cs" Inherits="admin_login" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <script src="../Scripts/jQuery1.7.js" type="text/javascript"></script>
    <style type="text/css">
        body
        {
            margin-left: 0px;
            margin-top: 0px;
            margin-right: 0px;
            margin-bottom: 0px;
            background-color: #016aa9;
            overflow: hidden;
        }
        .STYLE1
        {
            color: #000000;
            font-size: 12px;
        }
    </style>

    <script language="javascript" type="text/javascript">
        var Pcon = window.parent.length;
        if (Pcon > 0) {
            //过期后跳转到登录，防止不跳出框架
            var curl = location.href;
            window.parent.parent.parent.document.location.href = curl
        }
 

        var btnSubmit = function () {
            if (!$.trim($("#txtAccount").val())) {
                $("#divTips").html("请输入用户名。");
                return false;
            }
            if (!$.trim($("#txtPassword").val())) {
                $("#divTips").html("请输入密码。");
                return false;
            }
        }
        
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
        <tr>
            <td>
                <table width="962" border="0" align="center" cellpadding="0" cellspacing="0">
                    <tr>
                        <td height="235" background="images/login_03.gif">
                            &nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td height="53">
                            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                <tr>
                                    <td width="394" height="53" background="images/login_05.gif">
                                        &nbsp;
                                    </td>
                                    <td width="206" background="images/login_06.gif">
                                        <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                            <tr>
                                                <td width="16%" height="25">
                                                    <div align="right">
                                                        <span class="STYLE1">用户</span></div>
                                                </td>
                                                <td width="57%" height="25">
                                                    <div align="center">
                                                        <input type="text" id="txtAccount" name="txtAccount" style="width: 105px; height: 17px; background-color: #292929;
                                                            border: solid 1px #7dbad7; font-size: 12px; color: #6cd0ff">
                                                    </div>
                                                </td>
                                                <td width="27%" height="25">
                                                    &nbsp;
                                                </td>
                                            </tr>
                                            <tr>
                                                <td height="25">
                                                    <div align="right">
                                                        <span class="STYLE1">密码</span></div>
                                                </td>
                                                <td height="25">
                                                    <div align="center">
                                                        <input type="password" id="txtPassword"  name="txtPassword" style="width: 105px; height: 17px; background-color: #292929;
                                                            border: solid 1px #7dbad7; font-size: 12px; color: #6cd0ff">
                                                    </div>
                                                </td>
                                                <td height="25">
                                                    <div align="left">
                                                        <input type="image" onclick="return btnSubmit()" name="imgbtn" id="imgbtn" src="images/dl.gif"
                                                            style="border-width: 0px;">
                                                        <input type="hidden" name="fun" value="onlogin" />
                                                    </div>
                                                </td>
                                            </tr>
                                        </table>
                                    </td>
                                    <td width="362" background="images/login_07.gif">
                                        &nbsp;
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                    <tr>
                        <td height="213" background="images/login_08.gif" valign="top">
                            <div runat="server" id="divTips" style=" font-size:12px; width:270px; top:5px; margin-left:390px; color:#970000; font-weight:bold;" ></div>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
    </form>
</body>
</html>
